package com.atguigu.guli.service.trade.feign.fallback;

import com.atguigu.guli.service.base.result.R;
import com.atguigu.guli.service.trade.feign.EduFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
@Slf4j
@Service
public class EduFeignClientFallback implements EduFeignClient {
    @Override
    public R getCourseInfo(String id) {
        log.error("远程获取订单的课程{}  数据失败", id);
        return R.error();
    }

    @Override
    public R updateSales(String id, String uuid) {
        log.error("远程更新课程{}  销量失败", id);
        return R.error();
    }
}
